package com.zzyl.nursing.dto;

import com.zzyl.nursing.domain.NursingTask;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
public class NursingTaskDto extends NursingTask{

    // 老人姓名
    private String elderName;

    // 结束时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    // 护理员ID
    private Long nurseId;

    // 护理项目ID
    private Long projectId;

    // 开始时间

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    // 状态 (1待执行 2已执行 3已关闭)
    private Integer status;

    private String reason;

    private Long taskId;
}
